generic module FakeSensorP() {

	provides interface Read<uint16_t>;
	
	uses interface Random;

} implementation {

#define MAX_VALUE 10
uint8_t i = 0;
uint16_t value[MAX_VALUE];


	task void readDone();

	command error_t Read.read(){
		post readDone();
		return SUCCESS;
	}
	
	task void readDone() {
		signal Read.readDone( SUCCESS, call Random.rand16());
	}
}
//test svn